<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>DWR应用</title>
    <script language="javascript" src="dwr/interface/AjaxDate.js"></script>
    <script language="javascript" src="dwr/engine.js"></script>
    <script language="javascript" src="dwr/util.js"></script>
    <script language="javascript">
       function doTest(){
           AjaxDate.toString(load);
       }
       function load(data){
           window.alert("现在时间是："+data);
       }
    </script>
  </head>
  
  <body>
    <input type="button" value="查询现在时间" onClick="doTest()">
  </body>
</html>
